import request from '@/utils/request'

// 分页查询
export function getStockPageList(data) {
  return request({
    url: '/stock/getStockPageList',
    method: 'post',
    data
  })
}
// 待上架库存列表
export function getWaitShelvingStockList(data) {
  return request({
    url: '/stock/getWaitShelvingStockList',
    method: 'post',
    data
  })
}
// 分页列表导出
export function exportStockList(data) {
  return request({
    url: '/stock/exportStockList',
    method: 'post',
    data
    // responseType: "blob",
  })
}
// 客户名称下拉
export function getCustomerNameList(data) {
  return request({
    url: 'customer/selectCustomerBaseInfoList',
    method: 'post',
    data
  })
}
// 批量导出
export function exportList(data) {
  return request({
    url: '/delivered/findByOrderIds',
    method: 'post',
    data
  })
}
